<?php

	header("Content-Type: text/html;charset=utf-8");

 //这段放在网站里

header("Pragma: no-cache");

$ua = strtolower($_SERVER['HTTP_USER_AGENT']);

$uachar = "/(symbianos|android|Mac OS|ucweb|blackberry)/i";

if($ua != '' && preg_match($uachar, $ua)){

echo '<script>window.location.href="http://www.chinawalking.net.cn/sj/index.php";</script>';

exit();

}

	include("function/_nosql.php"); //

	include("function/function.php");

	//echo $_SERVER['HTTP_HOST'];

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta property="qc:admins" content="114673450763016171431676654636" />
<meta property="wb:webmaster" content="17adf1ed333f8d42" />
<title><?= $web_titles ?></title>
<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon">

<meta name="Keywords" content="<?= $web_keywords ?>" />

<meta name="Description" content="<?= $web_description ?>" />

<link rel="stylesheet" href="css/common.css"/>

<link rel="stylesheet" href="css/sq.css"/>
<link rel="stylesheet" href="css/idangerous.swiper.css">

<meta property="qc:admins" content="743675507763613016171431676375" />



<meta property="wb:webmaster" content="3b87b94a6c4ecce8" />


<script type="text/javascript" src="js/baidutongji.js"></script>
<script type="text/javascript" src="js/laydate/laydate.js"></script>


<style type="text/css">
	title{
		background: url(./images/favicon.ico) no-repeat;
	}
</style>

</head>

<body>

<script src="https://qiyukf.com/script/2f55cd026853ef7b33bd5509c8a6a545.js" defer async></script>

<script>
    ysf.config({
    uid:"1442286211167",
    name:'test',
    email:'test@163.com',
    mobile:'13888888888'
});
</script>

<!--top-bar begin-->
<div id="ad">
        <div id="close">X</div>
        <a href="user_index.php"><img src="../images/piao-11.png"></a>
</div>
<? include("_include.top.topbar.php") ?>
<!--top-bar end--> 
<!--header begin-->
<? include("_include.top.navbar.php") ?>
<!--header end-->
<div class="banner-wrap">

  <div class="swiper-container" id="bannerSwiper">

    <div class="swiper-wrapper">

	<?php

			$news_sql = "select * from kboy_piclink where news_bigclass=270 order by news_top desc,news_order desc, id desc limit 10";

			$news_rows = mysql_query($news_sql);
			
			while($news_rs = mysql_fetch_array($news_rows)){
			
				echo "<div class=\"swiper-slide\" onclick=\"location.href='".$news_rs['news_tourls']."'\" style=\"background:url(".$news_rs['news_pic'].") no-repeat center top;background-size:1920px 400px;\"></div>";

			}
	?>
    </div>

  </div>

  <div class="swiper-box">

    <div id="bannerpagination" class="pagination"></div>

  </div>

  <div class="banner-inner">



    <div class="banner"></div>



    



    <!--fast nav-->



    






    <!--search-->

  </div>



</div>







<!--banner end--> 







<!--活动 begin-->







<div class="f-item-box">



  <div class="content">



    <div class="f-item-title">



      <p class="tips">ACTIVITY</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="active.php">活  动</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">实时发布活动项目，简单方便集齐驴友！</p>



      <p class="tips-en">Collected real-time events, easy and convenient travelling!</p>



    </div>



    <div class="hd-nav-wrap">



      <ul class="hd-nav">



				<?php
									$bigclass_sql = "select * from kboy_bigclass where pid=134 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo '<li><a href="javascript:;">'.$bigclass_rs['bigclass_cn'].'</a></li>';
									}
							?>


      </ul>



    </div>



    <div class="bd-content pt35">



      <div class="con-pane on">



        <div class="con-f1">



          <div class="show-pic">



            <ul class="show-pic-list" id="da-thumbs">

              <?php	

								$i = 1;

								$news_sql = "select * from kboy_forum_active where active_end_time>'$THIS_TODAY_DATETIME' and active_bigclass=135 and active_model = 0 and active_state = 0 order by active_top desc,active_order desc, id desc limit 10";

								$news_rows = mysql_query($news_sql);

								while($news_rs = mysql_fetch_array($news_rows)){

						?>

              <li> <a href="activeview.php?newsid=<?=$news_rs['id']?>"> <img src="<?php	
              $news_rss = explode(',', $news_rs['active_pic']);
			  			if($news_rss){
			  				echo $news_rss[0];
			  			}else{
			  				echo $news_rs['active_pic'];
			  			}
              ?>"/>

                <div class="pic_inner">

                  <!--<p class="pic-order">

                    <?php if($i!=10){ echo "0";} ?>

                    <?=$i?>

                  </p>-->

                  <p class="pic-line">

                    <?=cutstr($news_rs['active_title'],17)?>

                  </p>

                  <p class="pic-date">

                    <?=cutstr($news_rs['active_text'],20)?>

                  </p>

                  <!--<p class="show-more">查看详情</p>-->

                </div>



                </a> </li>



              <?php

								$i ++ ;

								}


						?>



            </ul>



          </div>



          <!--<div class="show-news">



            <h3 class="show-news-title"><a href="active.php">本周活动</a></h3>



            <div class="show-news-list">



              <?php



										$date=date('Y-m-d');  //当前日期

										$first=1; //$first =1 表示每周星期一为开始日期 0表示每周日为开始日期

										$w=date('w',strtotime($date));  //获取当前周的第几天 周日是 0 周一到周六是 1 - 6 

										$now_start=date('Y-m-d',strtotime("$date -".($w ? $w - $first : 6).' days')); //获取本周开始日期，如果$w是0，则表示周日，减去 6 天

										$now_end=date('Y-m-d',strtotime("$now_start +6 days"));  //本周结束日期



										$news_sql = "select * from kboy_forum_active where date(active_end_time)>='$THIS_TODAY_DATE' and (date(active_start_time)>='$now_start' and date(active_start_time)<='$now_end') and active_model = 0 and active_state = 0 and active_bigclass=135 order by active_top desc,active_order desc, id desc limit 6";

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

              <dl class="news-list-item">



                <dt><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?php  
                                        		 $news_rss = explode(',',$news_rs['active_sollimg']);
												if($news_rss){
													echo $news_rss[0];
												}else{
													echo $news_rs['active_sollimg'];
												}
                                        ?>" width="90" height="61" alt=""/></a></dt>



                <dd>



                  <div class="news-inner-title"><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                    <?=$news_rs['active_title']?>



                    </a></div>



                  <p class="news-tips"><span>召集人：



                    <?=getUserNickName($news_rs['uid'])?>



                    </span><span>活动地址：



                    <?=$news_rs['active_start_prov']?>



                    </span><span>活动时间：



                    <?=date('Y-m-d',strtotime($news_rs['active_start_time']))?>

                    </span></p>

                </dd>

              </dl>

              <?php

										}

								?>

            </div>



          </div>-->



        </div>



      </div>



      <div class="con-pane">



        <div class="con-f1">



          <div class="show-pic">



            <ul class="show-pic-list">

              <?php	

								$i = 1;

								$news_sql = "select * from kboy_forum_active where active_end_time>'$THIS_TODAY_DATE' and active_bigclass=136 and active_model = 0 and active_state = 0 order by active_top desc,active_order desc, id desc limit 10";
								$news_rows = mysql_query($news_sql);

								while($news_rs = mysql_fetch_array($news_rows)){

						?>

              <li> <a href="activeview.php?newsid=<?=$news_rs['id']?>"> <img src="<?php	
              $news_rss = explode(',', $news_rs['active_pic']);
			  			if($news_rss){
			  				echo $news_rss[0];
			  			}else{
			  				echo $news_rs['active_pic'];
			  			}
              ?>"/>

                <div class="pic_inner">



                  <!--<p class="pic-order">



                    <?php if($i!=10){ echo "0";} ?>



                    <?=$i?>



                  </p>-->



                  <p class="pic-line">



                    <?=cutstr($news_rs['active_title'],17)?>



                  </p>



                  <p class="pic-date">



                    <?=cutstr($news_rs['active_text'],20)?>



                  </p>



                  <!--<p class="show-more">查看详情</p>-->



                </div>

                </a> </li>

              <?php

								$i ++ ;

								}

						?>

            </ul>

          </div>



          <div class="show-news" style="display:none">



            <h3 class="show-news-title"><a href="active.php">本周活动</a></h3>



            <div class="show-news-list">



              <?php















										$news_sql = "select * from kboy_forum_active where active_end_time>'$THIS_TODAY_DATE' and active_model = 0 and active_state = 0 order by active_top desc,active_order desc, id desc limit 6";















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



              <dl class="news-list-item">



                <dt><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['active_pic']?>" width="90" height="61" alt=""/></a></dt>



                <dd>



                  <div class="news-inner-title"><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                    <?=$news_rs['active_title']?>



                    </a></div>



                  <p class="news-tips"><span>召集人：



                    <?=getUserNickName($news_rs['uid'])?>



                    </span><span>活动地址：



                    <?=$news_rs['active_start_prov']?>



                    </span><span>活动时间：



                    <?=date('Y-m-d',strtotime($news_rs['active_start_time']))?>



                    </span></p>



                </dd>



              </dl>



              <?php















										}















								?>



            </div>



          </div>



        </div>



      </div>



      <div class="con-pane">



        <div class="con-f1">



          <div class="show-pic">



            <ul class="show-pic-list">



              <?php	















								$i = 1;















								$news_sql = "select * from kboy_forum_active where active_end_time>'<img class=\"lazyload\" src=\"TIME' and active_bigclass=137 and active_model = 0 and active_state = 0 order by active_top desc,active_order desc, id desc limit 10 ";















								$news_rows = mysql_query($news_sql);















								while($news_rs = mysql_fetch_array($news_rows)){















						?>



              <li> <a href="activeview.php?newsid=<?=$news_rs['id']?>"> <img src="<?=$news_rs['active_pic']?>"/>



                <div class="pic_inner">



                  <!--<p class="pic-order">



                    <?php if($i!=10){ echo "0";} ?>



                    <?=$i?>



                  </p>-->



                  <p class="pic-line">



                    <?=cutstr($news_rs['active_title'],17)?>



                  </p>



                  <p class="pic-date">



                    <?=cutstr($news_rs['active_text'],20)?>



                  </p>



                  <!--<p class="show-more">查看详情</p>-->



                </div>



                </a> </li>



              <?php















								$i ++ ;















								}















						?>



            </ul>



          </div>



          <div class="show-news">



            <h3 class="show-news-title"><a href="active.php">本周活动</a></h3>



            <div class="show-news-list">



              <?php









										$date=date('Y-m-d');  //当前日期

										$first=1; //$first =1 表示每周星期一为开始日期 0表示每周日为开始日期

										$w=date('w',strtotime($date));  //获取当前周的第几天 周日是 0 周一到周六是 1 - 6 

										$now_start=date('Y-m-d',strtotime("$date -".($w ? $w - $first : 6).' days')); //获取本周开始日期，如果$w是0，则表示周日，减去 6 天

										$now_end=date('Y-m-d',strtotime("$now_start +6 days"));  //本周结束日期



										$news_sql = "select * from kboy_forum_active where date(active_end_time)>='$THIS_TODAY_DATE' and (date(active_start_time)>='$now_start' and date(active_start_time)<='$now_end') and active_model = 0 and active_state = 0 and active_bigclass=137 order by active_top desc,active_order desc, id desc limit 6";









										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



              <dl class="news-list-item">



                <dt><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['active_pic']?>" width="90" height="61" alt=""/></a></dt>



                <dd>



                  <div class="news-inner-title"><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                    <?=$news_rs['active_title']?>



                    </a></div>



                  <p class="news-tips"><span>召集人：



                    <?=getUserNickName($news_rs['uid'])?>



                    </span><span>活动地址：



                    <?=$news_rs['active_start_prov']?>



                    </span><span>活动时间：



                    <?=date('Y-m-d',strtotime($news_rs['active_start_time']))?>



                    </span></p>



                </dd>



              </dl>



              <?php















										}















								?>



            </div>



          </div>



        </div>



      </div>
		

      <div class="con-pane">



        <div class="con-f1">



          <div class="com-dz">



            <div class="com-dz-table">



              <div class="com-dz-title"><i></i>活动定制</div>



              <form name="dform" method="post" action="customsave.php?action=save">



                <div class="basic-table">



                  <div class="f_dz_box"> <span>目的地</span>



                    <input name="custom_endarea" type="text" class="basic-input">



                  </div>



                  <div class="f_dz_box"> <span>热门主题</span>



                    <input name="custom_zhuti" type="text" class="basic-input">



                  </div>



                  <div class="f_dz_box"> <span>*出发日期</span>



                    <input name="custom_startime" type="text" class="basic-input w67" onclick="laydate()" readonly="">



                    <span>*活动日程</span>



                    <input name="custom_activetime" type="text" class="basic-input w67" onclick="laydate()" readonly="">



                  </div>



                  <div class="f_dz_box"> <span>人数</span>



                    <input name="custom_people" type="text" class="basic-input w67">



                    <span>*活动强度</span>



                   <!-- <input name="custom_power" type="text" class="basic-input w67">-->
					<select name="custom_power" class="basic-input w67">
						<option value="低">低</option>
						<option value="中">中</option>
						<option value="高">高</option>
					</select>



                  </div>



                  <div class="f_dz_box"> <span>预算</span>



                    <input name="custom_yusuan" type="text" class="basic-input w149">



                    <i>元/人</i> </div>



                  <div class="f_dz_box"> <span>其他需求</span>



                    <textarea name="custom_text"></textarea>



                  </div>



                  <div class="f_dz_box"> <span>联系人</span>



                    <input name="custom_contact" type="text" class="basic-input">



                  </div>



                  <div class="f_dz_box"> <span>*联系电话</span>



                    <input name="custom_phone" type="text" class="basic-input">



                  </div>



                </div>



                <div class="btn-group">



                  <input type="submit" name="blue-btn" class="blue-btn" value="提交信息" />



                  <a href="tencent://message/?uin=787652278&Site=&Menu=yes" class="blue-btn">咨询客服</a></div>



              </form>



            </div>



            <div class="com-dz-show">



              <div class="hd">



                <ul>



                  <?php

										$N_ClassID = 18;

										$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";















										$piclink_rows = mysql_query($piclink_sql);















										while($piclink_rs = mysql_fetch_array($piclink_rows)){















											echo "<li></li>";















										}















									?>



                </ul>



              </div>



              <div class="bd">



                <ul>

                  <?php

										$piclink_sql = "select * from kboy_piclink where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 5";

										$piclink_rows = mysql_query($piclink_sql);

										while($piclink_rs = mysql_fetch_array($piclink_rows)){

											echo "<li>";

											if($piclink_rs['news_tourls']){

												echo "<a href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\">";

											}else{

												echo "<a href=\"javascript:void(0);\">";

											}

											echo "<img src=\"".$piclink_rs['news_pic']."\"/>";

											echo "</a>";

											echo "</li>";

										}

									?>

                </ul>

              </div>

              <!-- 下面是前/后按钮代码，如果不需要删除即可 --> 

              <a class="prev" href="javascript:void(0)"></a> <a class="next" href="javascript:void(0)"></a> </div>

          </div>



          <div class="dz-step">



            <div class="bg2"><img src="images/dz_pic1.png" alt=""/></div>



            <div class="wz">



              <ul>



                <li> <span>选择产品</span> </li>



                <li> <span>搭配资源</span> </li>



                <li> <span>填写信息</span> </li>



                <li> <span>订单确认</span> </li>



                <li> <span>支付</span> </li>



                <li> <span>开始徒步</span> </li>



                <li> <span>行程点评</span> </li>



              </ul>



            </div>



          </div>



        </div>



      </div>



      <div class="con-pane">



        <div class="con-f1">



          <div class="show-leader">



            <h3 class="show-news-title"><a href="#">推荐领队</a></h3>



            <div class="leader-list">



              <div class="hd"> <a class="next"></a> 



                



                <!--<ul></ul>--> 



                



                <a class="prev"></a> </div>



              <div class="bd">



                <ul>



                  <?php















										$user_sql = "select * from kboy_user where user_leader=1 and user_tui=1 order by uid desc limit 10";















										$user_rows = mysql_query($user_sql);















										while($user_rs = mysql_fetch_array($user_rows)){















									?>



                  <li> <a href="forum_news.php?uid=<?=$user_rs['uid']?>" target="_blank">



                    <div class="leader-intro">



                      <div class="pic"><img src="<?=$user_rs['user_face']?>" width="130" height="130" alt=""></div>



                      <div class="info">



                        <p class="p-name">



                          <?=getUserNickName($user_rs['uid'])?>



                        </p>



                        <p>性别：



                          <?php















															 if($user_rs['user_sex'] == 1){















															 	echo "男";















															 }elseif($user_rs['user_sex'] == 0){















															 	echo "女";















															 }else{















															 	echo "保密";















															 }















															 ?>



                        </p>



                        <p style="display:none;">好评率：0%</p>



                        <p style="display:none;">带队人数：0人次</p>



                      </div>



                    </div>



                    </a> </li>



                  <?php















										}















									?>



                </ul>



              </div>



            </div>



          </div>



          <div class="show-news">



            <h3 class="show-news-title"><a href="active.php">活动报道</a></h3>



            <div class="show-news-list">



              <?php















										$news_sql = "select * from kboy_forum_active order by active_top desc,active_order desc, id desc limit 6";





//









										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



              <dl class="news-list-item">



                <dt><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['active_pic']?>" width="90" height="61" alt=""/></a></dt>



                <dd>



                  <div class="news-inner-title"><a href="activeview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                    <?=$news_rs['active_title']?>



                    </a></div>



                  <p class="news-tips"><span>召集人：



                    <?=getUserNickName($news_rs['uid'])?>



                    </span><span>活动地址：



                    <?=$news_rs['active_start_prov']?>



                    </span><span>活动时间：



                    <?=date('Y-m-d',strtotime($news_rs['active_start_time']))?>



                    </span></p>



                </dd>



              </dl>



              <?php















										}















								?>



            </div>



          </div>



        </div>



      </div>



      <div class="show-ads">



        <?=getBanners(14)?>



      </div>



    </div>



  </div>



</div>







<!--活动 end-->







<div class="f-item-box">



  <div class="content">



    <div class="f-item-title">



      <p class="tips">INFORMATION</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="news.php?classid=6">资  讯</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">提供新闻线索，了解最新行业动态！</p>



      <p class="tips-en">Provide an understanding of the latest industry news clues, dynamic!</p>



    </div>



    <div class="hd-nav-wrap">



      <ul class="hd-nav">



        <?php
									$bigclass_sql = "select * from kboy_bigclass where pid=5 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo '<li><a href="javascript:;">'.$bigclass_rs['bigclass_cn'].'</a></li>';
									}
							?>



      </ul>



    </div>



    <div class="bd-content pt35"> 



      



      <!--热门新闻-->
      <div class="con-pane on">
        <div class="con-f2">
          <div class="hot-news-hd">
            <ul>
              <?php
										$IDs = "";
										$N_ClassID = 6;
										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=1 order by news_top desc,news_order desc, id desc limit 4";
										$news_rows = mysql_query($news_sql);
										while($news_rs = mysql_fetch_array($news_rows)){
								?>
              <li>
                <div class="hot-news-inner">
                  <div class="pic"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                    <?php
										if($news_rs['news_pic']){
											echo "<img src=\"".$news_rs['news_pic']."\" width=\"265\" height=\"257\" alt=\"\"/>";
										}else{
											echo "<img src=\"images/dontimg.png\" width=\"265\" height=\"257\" alt=\"\"/>";
										}
								?>
                    </a></div>
                  <div class="info">
                    <div class="title">
                      <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                        <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>
                        </a>
                      </h3>
                      <p><span class="fl">来源于：
                        <?=$news_rs['news_from']?>
                        </span><span class="fr">
                        <?=date('Y-m-d',strtotime($news_rs['news_addtime']))?>
                        </span>
                      </p>
                    </div>
                    <div class="detail"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                      <?=cutstr($news_rs['news_text'],200)?>
                      </a></div>
                    <div class="show-more"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">更多&gt;&gt;</a></div>
                  </div>
                </div>
              </li>
              <?php

										}

								?>

            </ul>

          </div>

          <div class="hot-news-bd">

            <?php

										$IDs = "";

										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 1";

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

            <div class="pic-show"> <a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">
              <div class="pic">
				<p class="pic-line"><?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],15)?></p> 
                <?php

													if($news_rs['news_pic']){

														echo "<img src=\"".$news_rs['news_pic']."\" width=\"370\" height=\"309\">";

													}else{

														echo "<img src=\"images/dontimg.png\" width=\"370\" height=\"309\"/>";

													}

								?>

                <div class="pic_inner">

                <!--  <p class="pic-order">01</p>-->

                  

                  <p class="pic-date">



                    <?=cutstr($news_rs['news_text'],200)?>



                  </p>


                  <!--<p class="show-more">查看详情</p>-->



                </div>



              </div>



              </a> </div>



            <?php

										$IDs = $IDs .",".$news_rs['id'];

										}

										$IDs = trim(ltrim($IDs,','),',');

								?>

            <div class="words-show">

              <ul>

                <?php

										if($IDs){

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 and id not in(".$IDs.") order by news_top desc,news_addtime desc limit 2";

										}else{

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 2";

										}
										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

                <li>

                  <div class="words-inner">

                    <h3 class="title"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                      <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>

                      </a></h3>

                    <div class="info"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                      <?=cutstr($news_rs['news_text'],90)?>

                      </a></div>

                    <p class="org"><span>来源于：

                      <?=$news_rs['news_from']?>



                      </span><span>



                      <?=date('Y-m-d',strtotime($news_rs['news_addtime']))?>



                      </span></p>



                  </div>



                </li>



                <?php















										$IDs = $IDs .",".$news_rs['id'];















										}















										$IDs = trim(ltrim($IDs,','),',');















								?>



              </ul>



            </div>



            <?php















										if($IDs){















											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 and id not in(".$IDs.") order by news_top desc,news_order desc, id desc limit 1";















										}else{















											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 1";















										}















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



            <div class="pic-show"> <a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



              <div class="pic">

				<p class="pic-line"><?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],15)?> </p>

                <?php

													if($news_rs['news_pic']){
														echo "<img src=\"".$news_rs['news_pic']."\" width=\"370\" height=\"309\">";
													}else{
														echo "<img src=\"images/dontimg.png\" width=\"370\" height=\"309\"/>";
													}
								?>

                <div class="pic_inner">
                  <!--<p class="pic-order">02</p>-->
                  <p class="pic-date">
                    <?=cutstr($news_rs['news_text'],80)?>
                  </p>
                  <!--<p class="show-more">查看详情</p>-->
                </div>
              </div>
              </a> </div>
            <?php
										}
								?>



          </div>



        </div>



      </div>



      



      <!--户外知识-->



      



      <div class="con-pane">



        <div class="con-f2">



          <div class="outdoor-news">



            <ul>



              <?php















										$IDs = "";















										$N_ClassID = "61,62,63";















										$news_sql = "select * from kboy_news where news_bigclass in(".$N_ClassID.") order by news_top desc,news_order desc, id desc limit 12";















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



              <li>



                <div class="outdoor-item">



                  <div class="title">



                    <div class="title_l"> <span class="sp1">



                      <?=date('m',strtotime($news_rs['news_addtime']))?>



                      月</span> <span class="sp2">



                      <?=date('d',strtotime($news_rs['news_addtime']))?>



                      </span> </div>



                    <div class="title_r">



                      <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                        <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>



                        </a></h3>



                      <p>作者：



                        <?=$news_rs['news_writer']?>



                        | 来源于：



                        <?=$news_rs['news_from']?>



                      </p>



                    </div>



                  </div>



                  <div class="outdoor_bd">



                    <div class="out-l"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                      <?php















													if($news_rs['news_pic']){















														echo "<img src=\"".$news_rs['news_pic']."\" width=\"148\" height=\"108\">";















													}else{















														echo "<img src=\"images/dontimg.png\" width=\"148\" height=\"108\"/>";















													}















								?>



                      </a></div>



                    <div class="out-r">



                      <?=cutstr($news_rs['news_text'],90)?>



                    </div>



                  </div>



                </div>



              </li>



              <?php















										}















								?>



            </ul>



          </div>



          <div class="out-box"> <a href="javascripg:void(0)" class="out-up disabled"></a> <a href="javascripg:void(0)" class="out-down"></a> </div>



        </div>



      </div>



      



      <!--CAV新闻-->



      



      <div class="con-pane">



        <div class="con-f2">



          <div class="hot-news-hd">



            <ul>



              <?php















										$IDs = "";















										$N_ClassID = 8;















										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=1 order by news_top desc,news_order desc, id desc limit 4";















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



              <li>



                <div class="hot-news-inner">



                  <div class="pic"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                    <?php















										if($news_rs['news_pic']){

											echo "<img src=\"".$news_rs['news_pic']."\" width=\"265\" height=\"257\" alt=\"\"/>";

										}else{

											echo "<img src=\"images/dontimg.png\" width=\"265\" height=\"257\" alt=\"\"/>";

										}

								?>

                    </a></div>

                  <div class="info">

                    <div class="title">

                      <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                        <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>

                        </a></h3>

                      <p><span class="fl">来源于：

                        <?=$news_rs['news_from']?>

                        </span><span class="fr">

                        <?=date('Y-m-d',strtotime($news_rs['news_addtime']))?>

                        </span></p>

                    </div>

                    <div class="detail"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                      <?=cutstr($news_rs['news_text'],30)?>

                      </a></div>

                    <div class="show-more"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">更多&gt;&gt;</a></div>

                  </div>

                </div>

              </li>

              <?php

										}

								?>

            </ul>

          </div>

          <div class="hot-news-bd">

            <?php

										$IDs = "";

										$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 1";

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

            <div class="pic-show"> <a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

              <div class="pic">
                <p class="pic-line"><?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?></p>
                <?php

													if($news_rs['news_pic']){

														echo "<img src=\"".$news_rs['news_pic']."\" width=\"370\" height=\"309\">";

													}else{

														echo "<img src=\"images/dontimg.png\" width=\"370\" height=\"309\"/>";

													}

								?>

                <div class="pic_inner">

                  <!--<p class="pic-order">01</p>-->

                  <p class="pic-date">

                    <?=cutstr($news_rs['news_text'],30)?>

                  </p>

                  <!--<p class="show-more">查看详情</p>-->

                </div>

              </div>

              </a> </div>

            <?php

										$IDs = $IDs .",".$news_rs['id'];

										}

										$IDs = trim(ltrim($IDs,','),',');

								?>

            <div class="words-show">

              <ul>

                <?php

										if($IDs){

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 and id not in(".$IDs.") order by news_top desc,news_order desc, id desc limit 2";

										}else{

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 2";

										}

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

                <li>

                  <div class="words-inner">

                    <h3 class="title"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                      <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>

                      </a></h3>

                    <div class="info"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                      <?=cutstr($news_rs['news_text'],90)?>

                      </a></div>

                    <p class="org"><span>来源于：

                      <?=$news_rs['news_from']?>

                      </span><span>

                      <?=date('Y-m-d',strtotime($news_rs['news_addtime']))?>

                      </span></p>

                  </div>

                </li>

                <?php

										$IDs = $IDs .",".$news_rs['id'];

										}

										$IDs = trim(ltrim($IDs,','),',');

								?>

              </ul>

            </div>

            <?php

										if($IDs){

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 and id not in(".$IDs.") order by news_top desc,news_order desc, id desc limit 1";

										}else{

											$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID and news_tui=0 order by news_top desc,news_order desc, id desc limit 1";

										}

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

            <div class="pic-show"> <a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

              <div class="pic">
                <p class="pic-line"><?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?></p>
                <?php

													if($news_rs['news_pic']){

														echo "<img src=\"".$news_rs['news_pic']."\" width=\"370\" height=\"309\">";

													}else{

														echo "<img src=\"images/dontimg.png\" width=\"370\" height=\"309\"/>";

													}

								?>

                <div class="pic_inner">

                  <!--<p class="pic-order">02</p>-->

                  <p class="pic-date">

                    <?=cutstr($news_rs['news_text'],30)?>

                  </p>

                  <!--<p class="show-more">查看详情</p>-->

                </div>

              </div>

              </a> </div>

            <?php

										}

								?>

          </div>

        </div>

      </div>

      <!--重要专题-->

      <div class="con-pane">

        <div class="con-f1">

          <div class="zhuanti_list">

            <ul>

              <?php

										$IDs = "";

										$N_ClassID = "64,65,66";

										$news_sql = "select * from kboy_news where news_bigclass in(".$N_ClassID.") order by news_top desc,news_order desc, id desc limit 12";

										$news_rows = mysql_query($news_sql);

										while($news_rs = mysql_fetch_array($news_rows)){

								?>

              <li>

                <div class="pic"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                  <?php

										if($news_rs['news_pic']){

											echo "<img src=\"".$news_rs['news_pic']."\" width=\"336\" height=\"180\">";

										}else{

											echo "<img src=\"images/dontimg.png\" width=\"336\" height=\"180\"/>";

										}

								?>

                  </a></div>

                <div class="zt-f1">

                  <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                    <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>

                    </a></h3>

                  <span>

                  <?=date('Y-m-d',strtotime($news_rs['news_addtime']))?>

                  </span> </div>

                <div class="zt-f2"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">

                  <?=cutstr($news_rs['news_text'],30)?>

                  </a></div>

              </li>

              <?php

										}

								?>

            </ul>

          </div>

          <div class="ctr-box"> <a href="javascripg:void(0)" class="ctr-up disabled"></a> <a href="javascripg:void(0)" class="ctr-down"></a> </div>

        </div>

      </div>

      <!--<div class="show-ads">

        <?=getBanners(15)?>

      </div>-->

    </div>

  </div>

</div>

<div class="f-item-box">

  <div class="content">



    <div class="f-item-title">



      <p class="tips">COMMUNITY</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="bbs.php">社  区</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">交流分享，学习更多知识，结交更多朋友！</p>



      <p class="tips-en">Sharing, learn more knowledge, to make more friends!</p>



    </div>



    <div class="bd-content">



      <div class="con-pane on">



        <div class="con-f3">



          <div class="hd-bbs">



            <div class="hd-bbs-tab"> <span class="on"><a href="javascript:;"><i></i>最佳徒步里程</a></span> <span><a href="javascript:;"><i></i>最高活动次数</a></span> </div>



            <div class="hd-bbs-con">



              <div class="hd-bbs-pane on">



                <div class="h_community_list">



                  <div class="hd"> <a class="next"></a> <a class="prev"></a> </div>



                  <div class="bd">



                    <?php

            									$i = 1;

            									$user_sql = "select * from kboy_user order by user_km desc,uid desc limit 20";

            									$user_rows = mysql_query($user_sql);

            									while($user_rs = mysql_fetch_array($user_rows)){

            							?>

                    <dl>

                      <dt> <a href="forum_map.php?uid=<?=$user_rs['uid']?>" target="_blank"> <img src="<?=$user_rs['user_face']?>" width="65" height="65" alt=""/> <i class="top top<?=$i?>"></i> </a> </dt>

                      <dd>

                        <p>

                          <?php if($user_rs['user_nickname']){ echo $user_rs['user_nickname']; }else{ echo "会员".$user_rs['uid'];} ?>

                        </p>

                        <p>徒步里程</p>

                        <p><span>

                          <?=$user_rs['user_km']?>

                          </span>公里</p>

                      </dd>

                    </dl>

                    <?php

            									$i ++ ;

            									}

            							?>

                  </div>

                </div>

              </div>

              <div class="hd-bbs-pane">

                <div class="h_community_list">

                  <div class="hd"> <a class="next"></a> <a class="prev"></a> </div>

                  <div class="bd">

                    <?php

                									$i = 1;

                									$user_sql = "select * from kboy_user order by user_activetime desc,uid desc limit 20";

                									$user_rows = mysql_query($user_sql);

                									while($user_rs = mysql_fetch_array($user_rows)){

                							?>

                    <dl>

                      <dt> <a href="forum_map.php?uid=<?=$user_rs['uid']?>" target="_blank"> <img src="<?=$user_rs['user_face']?>" width="65" height="65" alt=""/> <i class="top top<?=$i?>"></i> </a> </dt>

                      <dd>

                        <p>

                          <?php if($user_rs['user_nickname']){ echo $user_rs['user_nickname']; }else{ echo "会员".$user_rs['uid'];} ?>

                        </p>

                        <p>活动次数</p>

                        <p><span>

                          <?=$user_rs['user_activetime']?>

                          </span>次</p>

                      </dd>

                    </dl>

                    <?php

                									$i ++ ;

                									}

                							?>

                  </div>

                </div>

              </div>

            </div>

            <div class="hd-bbs-me"><a href="forum_news.php?uid=15">Y<br/>

              O<br/>

              U</a></div>

          </div>

          <div class="con-pane on">
                    <div class="con-f1">
                        <div class="community-f1">
                            <ul>
						<?php
								$news_sql = "select * from kboy_forum_travel order by travel_addtime desc limit 6";
								$news_rows = mysql_query($news_sql);
								while($news_rs = mysql_fetch_array($news_rows)){
						?>
                                <li>
                                    <a href="forum_travelview.php?newsid=<?=$news_rs['id']?>" target="_blank">
                                        <div class="c-f">
                                            <div class="c-pic">
                                                <img src="<?=$news_rs['travel_pic']?>" width="373" height="234" alt=""/>
                                                <div class="nums"><span><i></i><?=$news_rs['travel_hit']?></span><span><i></i>17</span></div>
                                            </div>
                                            <div class="c-tips"><i class="tx"><img src="<?=getClassName("kboy_user","user_face","uid=".$news_rs['uid'])?>" width="55" height="55" alt=""/></i><p><?=$news_rs['travel_title']?></p></div>
                                        </div>
                                    </a>
                                </li>
						<?php
								}
						?>
                            </ul>
                        </div>
                    </div>
                </div>



          <!--<div class="bd-bbs">



            <div class="hot-line">



              <h3 class="show-news-title"><a href="trailfoot.php">热门路线</a></h3>



              <div class="show-hot-line">



                <?php















											$news_sql = "select * from kboy_trailfoot where trailfoot_tui=1 order by id desc limit 2";















											$news_rows = mysql_query($news_sql);















											while($news_rs = mysql_fetch_array($news_rows)){















									?>



                <div class="hot-line-item">



                  <div class="line-item-l">



                    <ul>



                      <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic2']?>" width="135" height="91" alt=""></a></li>



                      <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic3']?>" width="135" height="91" alt=""></a></li>



                      <li><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic4']?>" width="135" height="91" alt=""></a></li>



                    </ul>



                  </div>



                  <div class="line-item-r">



                    <h3 class="title"><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                      <?=$news_rs['trailfoot_title']?>



                      </a></h3>



                    <div class="line-detail"> 



                      



                        <p><span>全程：<?php echo $news_rs['trailfoot_allline'];?></span></p>



                      



                      <p><span>海拔最低：



                        <?=$news_rs['trailfoot_baltitude']?>



                        </span><span>最高：



                        <?=$news_rs['trailfoot_taltitude']?>



                        </span><span>难度级别：



                        <?=$news_rs['trailfoot_power']?>



                        </span></p>



                    </div>



                    <div class="editor-inner"><span class="editor">作者：<a href="javascript:void(0);">



                      <?=$news_rs['trailfoot_writer']?>



                      </a></span><span class="date">



                      <?=date('Y-m-d',strtotime($news_rs['trailfoot_addtime']))?>



                      </span>



                      <div class="show-pl"><span class="watch"><i></i>



                        <?=$news_rs['trailfoot_hit']?>



                        </span><span class="pl"><i></i>



                        <?=getNewsNums("kboy_trailfoot_message","newsid=".$news_rs['id'])?>



                        </span></div>



                    </div>



                  </div>



                </div>



                <?php















											}















									?>



              </div>



            </div>



            <div class="hot-pl">



              <h3 class="show-news-title"><a href="trailfoot.php">精彩点评</a></h3>



              <div class="hot-pl-list">



                <?php















				$news_sql = "select * from kboy_trailfoot_message order by id desc limit 3";















				$news_rows = mysql_query($news_sql);















				while($news_rs = mysql_fetch_array($news_rows)){















		?>



                <div class="hot-pl-item">



                  <div class="hd-pl">



                    <dl>



                      <dt><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank"><img src="<?=getClassName("kboy_user","user_face","uid=".$news_rs['uid'])?>" width="34" height="34" alt=""></a></dt>



                      <dd>



                        <div class="pl-1"><span class="name"><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank">



                          <?=getUserNickName($news_rs['uid'])?>



                          </a></span><span class="time">



                          <?=$news_rs['news_addtime']?>



                          </span></div>



                        <p>



                          <?=stripslashes($news_rs['message_text'])?>



                        </p>



                      </dd>



                    </dl>



                  </div>



                  <div class="bd-pl">



                    <p><a href="trailfootview.php?newsid=<?=$news_rs['newsid']?>" target="_blank">



                      <?=getClassName("kboy_trailfoot","trailfoot_title","id=".$news_rs['newsid'])?>



                      </a></p>



                    <span class="rect"></span></div>



                </div>



                <?php















				}















		?>



              </div>



            </div>



          </div>-->



        </div>



      </div>



      <!--<div class="show-ads">



        <?=getBanners(16)?>



      </div>-->



    </div>



  </div>



</div>



<div class="f-item-box">



  <div class="content">



    <div class="f-item-title">



      <p class="tips">TRAILS</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="trailivv.php">步  道</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">查看行程路线，出门在外不走弯路！</p>



      <p class="tips-en">View your itinerary, avoid detour away!</p>



    </div>



    <div class="hd-nav-wrap">



      <ul class="hd-nav">



        <?php
									$bigclass_sql = "select * from kboy_bigclass where pid=60 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo '<li><a href="javascript:;">'.$bigclass_rs['bigclass_cn'].'</a></li>';
									}
							?>


      </ul>



    </div>



    <div class="bd-content pt35"> 



      



      <!--IVV步道-->



      



      <div class="con-pane on">



        <div class="con-f4">



          <div class="ivv-box">



            <?php

								function mySort2($ArrStr, $ArrFunc, $ArrField='norder') {

									if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;

									return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;

								}

								function mySort($ArrStr, $ArrFunc, $ArrField='norder') {

									if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;

									return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;

								}

								$N_ClassID = 26;

								$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 3";

								$news_rows = mysql_query($news_sql);

								while($news_rs = mysql_fetch_array($news_rows)){

								$news_pic_batch = $news_rs['news_pic_batch'];

						?>

            <div class="ivv-item">

              <?php

								if(empty($news_pic_batch)){

									echo "<div class=\"ivv-show\"><a href=\"newsview.php?newsid=".$news_rs['id']."\"><img src=\"".$news_rs['news_pic']."\" width=\"388\" height=\"165\"/></a></div>";

								}else{

						?>

              <div class="ivv-show">

                <div class="hd">

                  <ul>

                    <?php

								if($news_pic_batch){

									$json_string = json_decode($news_pic_batch,true);

									usort($json_string, 'mySort2');

									foreach($json_string as $v){















										echo "<li></li>";















									}















								}















						?>



                  </ul>



                </div>



                <div class="bd">



                  <ul>



                    <?php















								if($news_pic_batch){















									$json_string = json_decode($news_pic_batch,true);















									usort($json_string, 'mySort');















									















									foreach($json_string as $v){















										echo "<li><img src=\"".$v['nurls']."\" /></li>";















									}















								}















						?>



                  </ul>



                </div>



              </div>



              <?php















								}















						?>



              <div class="info">



                <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>



                  </a></h3>



                <p><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=cutstr($news_rs['news_text'],50)?>



                  </a></p>



              </div>



              <div class="more blue"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">查看详情</a></div>



            </div>



            <?php















								}















						?>



          </div>



          <div class="bd-bbs">



            <div class="hot-line">



              <h3 class="show-news-title"><a href="trailfoot.php">目的地足迹</a></h3>



              <div class="destination">



                <?php















											$news_sql = "select * from kboy_trailfoot order by id desc limit 4";















											$news_rows = mysql_query($news_sql);















											while($news_rs = mysql_fetch_array($news_rows)){















									?>



                <dl>



                  <dt><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic']?>" width="135" height="91" alt=""/></a></dt>



                  <dd>



                    <h3><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                      <?=$news_rs['trailfoot_title']?>



                      </a></h3>



                    <div class="info">



                      <p>



                        <?=$news_rs['trailfoot_line']?>



                      </p>



                      <p><span>



                        <?=$news_rs['trailfoot_allline']?>



                        </span><span>海拔最低：



                        <?=$news_rs['trailfoot_baltitude']?>



                        </span></p>



                      <p><span>最高：



                        <?=$news_rs['trailfoot_taltitude']?>



                        </span><span>难度级别：



                        <?=$news_rs['trailfoot_power']?>



                        </span></p>



                    </div>



                  </dd>



                </dl>



                <?php















											}















									?>



              </div>



            </div>



            <div class="hot-pl">



              <h3 class="show-news-title"><a href="trailfoot.php">精彩点评</a></h3>



              <div class="hot-pl-list">



                <?php















				$news_sql = "select * from kboy_trailfoot_message order by id desc limit 2";















				$news_rows = mysql_query($news_sql);















				while($news_rs = mysql_fetch_array($news_rows)){















		?>



                <div class="hot-pl-item">



                  <div class="hd-pl">



                    <dl>



                      <dt><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank"><img src="<?=getClassName("kboy_user","user_face","uid=".$news_rs['uid'])?>" width="34" height="34" alt=""></a></dt>



                      <dd>



                        <div class="pl-1"><span class="name"><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank">



                          <?=getUserNickName($news_rs['uid'])?>



                          </a></span><span class="time">



                          <?=$news_rs['news_addtime']?>



                          </span></div>



                        <p>



                          <?=stripslashes($news_rs['message_text'])?>



                        </p>



                      </dd>



                    </dl>



                  </div>



                  <div class="bd-pl">



                    <p><a href="trailfootview.php?newsid=<?=$news_rs['newsid']?>" target="_blank">



                      <?=getClassName("kboy_trailfoot","trailfoot_title","id=".$news_rs['newsid'])?>



                      </a></p>



                    <span class="rect"></span></div>



                </div>



                <?php















				}















		?>



              </div>



            </div>



          </div>



        </div>



      </div>



      



      <!--步道标准-->



      



      <div class="con-pane">



        <div class="con-f4">



          <div class="ivv-box">



            <?php















								$N_ClassID = 27;















								$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 3";















								$news_rows = mysql_query($news_sql);















								while($news_rs = mysql_fetch_array($news_rows)){















								$news_pic_batch = $news_rs['news_pic_batch'];















						?>



            <div class="ivv-item">



              <?php















								if(empty($news_pic_batch)){















									echo "<div class=\"ivv-show\"><a href=\"newsview.php?newsid=".$news_rs['id']."\"><img src=\"".$news_rs['news_pic']."\" width=\"388\" height=\"165\"/></a></div>";















								}else{































						?>



              <div class="ivv-show">



                <div class="hd">



                  <ul>



                    <?php















								if($news_pic_batch){















									$json_string = json_decode($news_pic_batch,true);















									function mySort2($ArrStr, $ArrFunc, $ArrField='norder') {















										if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;















										return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;















									}















									usort($json_string, 'mySort2');















									















									foreach($json_string as $v){















										echo "<li></li>";















									}















								}















						?>



                  </ul>



                </div>



                <div class="bd">



                  <ul>



                    <?php















								if($news_pic_batch){















									$json_string = json_decode($news_pic_batch,true);















									function mySort($ArrStr, $ArrFunc, $ArrField='norder') {















										if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;















										return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;















									}















									usort($json_string, 'mySort');















									















									foreach($json_string as $v){















										echo "<li><img src=\"".$v['nurls']."\" /></li>";















									}















								}















						?>



                  </ul>



                </div>



              </div>



              <?php















								}















						?>



              <div class="info">



                <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>



                  </a></h3>



                <p><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=cutstr($news_rs['news_text'],30)?>



                  </a></p>



              </div>



              <div class="more blue"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">查看详情</a></div>



            </div>



            <?php















								}















						?>



          </div>



          <div class="bd-bbs">



            <div class="hot-line">



              <h3 class="show-news-title"><a href="trailfoot.php">目的地足迹</a></h3>



              <div class="destination">



                <?php















											$news_sql = "select * from kboy_trailfoot order by trailfoot_hit desc, id desc limit 4";















											$news_rows = mysql_query($news_sql);















											while($news_rs = mysql_fetch_array($news_rows)){















									?>



                <dl>



                  <dt><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic']?>" width="135" height="91" alt=""/></a></dt>



                  <dd>



                    <h3><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                      <?=$news_rs['trailfoot_title']?>



                      </a></h3>



                    <div class="info">



                      <p>



                        <?=$news_rs['trailfoot_line']?>



                      </p>



                      <p><span>



                        <?=$news_rs['trailfoot_allline']?>



                        </span><span>海拔最低：



                        <?=$news_rs['trailfoot_baltitude']?>



                        </span></p>



                      <p><span>最高：



                        <?=$news_rs['trailfoot_taltitude']?>



                        </span><span>难度级别：



                        <?=$news_rs['trailfoot_power']?>



                        </span></p>



                    </div>



                  </dd>



                </dl>



                <?php















											}















									?>



              </div>



            </div>



            <div class="hot-pl">



              <h3 class="show-news-title"><a href="trailfoot.php">精彩点评</a></h3>



              <div class="hot-pl-list">



                <?php















				$news_sql = "select * from kboy_trailfoot_message order by id desc limit 2";















				$news_rows = mysql_query($news_sql);















				while($news_rs = mysql_fetch_array($news_rows)){















		?>



                <div class="hot-pl-item">



                  <div class="hd-pl">



                    <dl>



                      <dt><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank"><img src="<?=getClassName("kboy_user","user_face","uid=".$news_rs['uid'])?>" width="34" height="34" alt=""></a></dt>



                      <dd>



                        <div class="pl-1"><span class="name"><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank">



                          <?=getUserNickName($news_rs['uid'])?>



                          </a></span><span class="time">



                          <?=$news_rs['news_addtime']?>



                          </span></div>



                        <p>



                          <?=stripslashes($news_rs['message_text'])?>



                        </p>



                      </dd>



                    </dl>



                  </div>



                  <div class="bd-pl">



                    <p><a href="trailfootview.php?newsid=<?=$news_rs['newsid']?>" target="_blank">



                      <?=getClassName("kboy_trailfoot","trailfoot_title","id=".$news_rs['newsid'])?>



                      </a></p>



                    <span class="rect"></span></div>



                </div>



                <?php















				}















		?>

              </div>

            </div>

          </div>

        </div>

      </div>

      <!--项目案例-->

      <div class="con-pane">

        <div class="con-f4">

          <div class="hot-news-bd">

            <?php

							$i = 1;

							$news_sql = "select * from kboy_news where news_bigclass=72 order by news_top desc,news_order desc, id desc limit 6";

							$news_rows = mysql_query($news_sql);

							while($news_rs = mysql_fetch_array($news_rows)){

					?>

            <div class="pic-show"> <a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">

              <div class="pic"> 
              <p class="pic-line"> <?=cutstr($news_rs['news_title'],17)?></p>
              <img src="<?=$news_rs['news_pic']?>" width="370" height="309">

                <div class="pic_inner" style="display: none;">

                  <!--<p class="pic-order">0

                    <?=$i?>

                  </p>-->

                  <p class="pic-date">

                    <?=$news_rs['news_text']?>

                  </p>

                  <!--<p class="show-more">查看详情</p>-->

                </div>

              </div>

              </a> </div>

            <?php

							$i ++ ;

							}

					?>

          </div>

        </div>

      </div>

      <!--专家团队-->

      <div class="con-pane">

        <?php

				$i = 1;

				$N_ClassID = 73;

				$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";

				$news_rows = mysql_query($news_sql);

				while($news_rs = mysql_fetch_array($news_rows)){

					if($i == 1){

						$class_str = " cur";

					}else{

						$class_str = "";

					}

			?>

        <div class="top-team-info<?=$class_str?>" data-id="<?=$news_rs['id']?>">

          <div class="taam-info-l"><a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['news_pic']?>" width="630" height="360" alt=""/></a></div>

          <div class="taam-info-r">

            <h3>

              <?=$news_rs['news_title']?>

            </h3>

            <div class="con">

              <?=$news_rs['news_text']?>

              </p>

              <a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank" class="more">更多&gt;&gt;</a> </div>

          </div>

        </div>

        <?php

				$i ++ ;

				}

			?>

        <div class="team-list">

          <div class="hd"> <a class="next"></a> <a class="prev"></a> </div>

          <div class="bd">

            <ul>

              <?php















				$i = 1;















				$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 20";















				$news_rows = mysql_query($news_sql);















				while($news_rs = mysql_fetch_array($news_rows)){















					if($i == 1){















						$class_str = " class=\"cur\"";















					}else{















						$class_str = "";















					}















			?>



              <li data-id="<?=$news_rs['id']?>"<?=$class_str?>> <a href="javascript:void(0);"> 



                



                <!--							<a href="ivvview.php?newsid=<?=$news_rs['id']?>" target="_blank">















-->



                <div class="team-intro">



                  <div class="pic"><img src="<?=$news_rs['news_pic']?>" width="120" height="120" alt=""/></div>



                  <div class="info">



                    <p class="p-name">



                      <?=$news_rs['news_title']?>



                    </p>



                  </div>



                </div>



                </a> </li>



              <?php















				 $i ++ ;















				}















			?>



            </ul>



          </div>



        </div>



      </div>



      



      <!--目的地足迹-->



      



      <div class="con-pane">



        <div class="con-f4">



          <div class="ivv-box">



            <?php















								$N_ClassID = 28;















								$news_sql = "select * from kboy_news where news_bigclass=$N_ClassID order by news_top desc,news_order desc, id desc limit 3";















								$news_rows = mysql_query($news_sql);















								while($news_rs = mysql_fetch_array($news_rows)){















								$news_pic_batch = $news_rs['news_pic_batch'];















						?>



            <div class="ivv-item">



              <?php















								if(empty($news_pic_batch)){















									echo "<div class=\"ivv-show\"><a href=\"newsview.php?newsid=".$news_rs['id']."\"><img src=\"".$news_rs['news_pic']."\" width=\"388\" height=\"165\"/></a></div>";















								}else{































						?>



              <div class="ivv-show">



                <div class="hd">



                  <ul>



                    <?php















								if($news_pic_batch){















									$json_string = json_decode($news_pic_batch,true);















									function mySort2($ArrStr, $ArrFunc, $ArrField='norder') {















										if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;















										return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;















									}















									usort($json_string, 'mySort2');















									















									foreach($json_string as $v){















										echo "<li></li>";















									}















								}















						?>



                  </ul>



                </div>



                <div class="bd">



                  <ul>



                    <?php















								if($news_pic_batch){















									$json_string = json_decode($news_pic_batch,true);















									function mySort($ArrStr, $ArrFunc, $ArrField='norder') {















										if($ArrStr[$ArrField] == $ArrFunc[$ArrField]) return 0;















										return ($ArrStr[$ArrField] < $ArrFunc[$ArrField]) ? -1 : 1;















									}















									usort($json_string, 'mySort');















									















									foreach($json_string as $v){















										echo "<li><img src=\"".$v['nurls']."\" /></li>";















									}















								}















						?>



                  </ul>



                </div>



              </div>



              <?php















								}















						?>



              <div class="info">



                <h3><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=getTitleStyle("kboy_news",$news_rs['id'],$news_rs['news_title'],25)?>



                  </a></h3>



                <p><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                  <?=cutstr($news_rs['news_text'],30)?>



                  </a></p>



              </div>



              <div class="more blue"><a href="newsview.php?newsid=<?=$news_rs['id']?>" target="_blank">查看详情</a></div>



            </div>



            <?php















								}















						?>



          </div>



          <div class="bd-bbs">



            <div class="hot-line">



              <h3 class="show-news-title"><a href="trailfoot.php">目的地足迹</a></h3>



              <div class="destination">



                <?php















											$news_sql = "select * from kboy_trailfoot order by trailfoot_hit desc, id desc limit 4";















											$news_rows = mysql_query($news_sql);















											while($news_rs = mysql_fetch_array($news_rows)){















									?>



                <dl>



                  <dt><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank"><img src="<?=$news_rs['trailfoot_pic']?>" width="135" height="91" alt=""/></a></dt>



                  <dd>



                    <h3><a href="trailfootview.php?newsid=<?=$news_rs['id']?>" target="_blank">



                      <?=$news_rs['trailfoot_title']?>



                      </a></h3>



                    <div class="info">



                      <p>



                        <?=$news_rs['trailfoot_line']?>



                      </p>



                      <p><span>



                        <?=$news_rs['trailfoot_allline']?>



                        </span><span>海拔最低：



                        <?=$news_rs['trailfoot_baltitude']?>



                        </span></p>



                      <p><span>最高：



                        <?=$news_rs['trailfoot_taltitude']?>



                        </span><span>难度级别：



                        <?=$news_rs['trailfoot_power']?>



                        </span></p>



                    </div>



                  </dd>



                </dl>



                <?php















											}















									?>



              </div>



            </div>



            <div class="hot-pl">



              <h3 class="show-news-title"><a href="trailfoot.php">精彩点评</a></h3>



              <div class="hot-pl-list">



                <?php















				$news_sql = "select * from kboy_trailfoot_message order by id desc limit 5";















				$news_rows = mysql_query($news_sql);















				while($news_rs = mysql_fetch_array($news_rows)){















		?>



                <div class="hot-pl-item">



                  <div class="hd-pl">



                    <dl>



                      <dt><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank"><img src="<?=getClassName("kboy_user","user_face","uid=".$news_rs['uid'])?>" width="34" height="34" alt=""></a></dt>



                      <dd>



                        <div class="pl-1"><span class="name"><a href="forum_news.php?uid=<?=$news_rs['uid']?>" target="_blank">



                          <?=getUserNickName($news_rs['uid'])?>



                          </a></span><span class="time">



                          <?=$news_rs['news_addtime']?>



                          </span></div>



                        <p>



                          <?=stripslashes($news_rs['message_text'])?>



                        </p>



                      </dd>



                    </dl>



                  </div>



                  <div class="bd-pl">



                    <p><a href="trailfootview.php?newsid=<?=$news_rs['newsid']?>" target="_blank">



                      <?=getClassName("kboy_trailfoot","trailfoot_title","id=".$news_rs['newsid'])?>



                      </a></p>



                    <span class="rect"></span></div>



                </div>



                <?php















				}















		?>



              </div>



            </div>



          </div>



        </div>



      </div>



    </div>



  </div>



</div>



<div class="f-item-box">



  <div class="content">



    <div class="f-item-title">



      <p class="tips">IVV</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="ivv_about.php">国际市民体育联盟</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">国际性平台，权威保障！</p>



      <p class="tips-en">Sharing, learn more knowledge, to make more friends!</p>



    </div>



    <div class="hd-nav-wrap">



      <ul class="hd-nav">



        <li class="on"><a href="javascript:;"><?php echo getClassName("kboy_bigclass", "bigclass_cn" ,"id = 135"); ?></a></li>



        <li><a href="javascript:;"><?php echo getClassName("kboy_bigclass", "bigclass_cn" ,"id = 136"); ?></a></li>



        <li><a href="javascript:;"><?php echo getClassName("kboy_bigclass", "bigclass_cn" ,"id = 137"); ?></a></li>



        <li><a href="javascript:;"><?php echo getClassName("kboy_bigclass", "bigclass_cn" ,"id = 207"); ?></a></li>



        <li><a href="javascript:;"><?php echo getClassName("kboy_bigclass", "bigclass_cn" ,"id = 287"); ?></a></li>



      </ul>



    </div>



    <div class="bd-content pt35"> 



      



      <!--IVV介绍-->



      



      <div class="con-pane on">



        <div class="con-f5">



          <div class="ivv-info-l">



            <div class="f-logo">



              <div class="logo-in"><img src="images/ivv.png" width="99" height="96" alt=""/></div>



              <div class="logo-info">



                <h3>



                  <?=getClassName("kboy_news","news_title","news_bigclass=53")?>



                </h3>



                <p>



                  <?=getClassName("kboy_news","news_text","news_bigclass=53")?>



                </p>



              </div>



            </div>



            <div class=ivv-info-inner>



              <?=getClassName("kboy_news","news_content","news_bigclass=53")?>



            </div>



            <div class="ivv-held">



              <h3><a href="ivv_about.php">近期IVV举办地</a></h3>



              <ul>



                <?php















										$news_sql = "select * from kboy_news where news_bigclass=89 order by news_top desc,news_order desc, id desc limit 4";















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



                <li> <img src="<?=$news_rs['news_pic']?>" width="81" height="54" alt="" />



                  <p>



                    <?=$news_rs['news_title']?>



                  </p>



                </li>



                <?php















										}















								?>



              </ul>



            </div>



          </div>



          <div class="ivv-info-r">



            <ul>



              <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=25 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$piclink_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$piclink_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}































































						$piclink_sql = "select * from kboy_piclink where news_bigclass=29 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=30 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info3"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=31 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info4"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=32 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















					?>



              <li class="info6"> <a href="ivv_about.php"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



      



      <!--CVA介绍-->
      <div class="con-pane">
        <div class="con-f5">
          <div class="ivv-info-l">
            <div class="f-logo">
              <div class="logo-in"><img src="<?=getClassName("kboy_news","news_pic","news_bigclass=55")?>" width="99" height="96" alt=""/></div>
              <div class="logo-info">
                <h3>
                  <?=getClassName("kboy_news","news_title","news_bigclass=55")?>
                </h3>
                <p>
                  <?=getClassName("kboy_news","news_text","news_bigclass=55")?>
                </p>
              </div>
            </div>
            <div class=ivv-info-inner>
              <?=getClassName("kboy_news","news_content","news_bigclass=55")?>
            </div>
          </div>
          <div class="ivv-info-r">
            <ul>
              <?php
						$piclink_sql = "select * from kboy_piclink where news_bigclass=33 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
              <li class="info1">
                <?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$piclink_tourls = " href=\"javascript:void(0);\"";
						}

					?>
                <a<?=$piclink_tourls?>>
                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>
                <div class="title">
                  <?=$piclink_rs['news_title']?>
                </div>
                </a> </li>
              <?php
						}
						$piclink_sql = "select * from kboy_piclink where news_bigclass=34 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
              <li class="info1">
                <?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
					?>
                <a<?=$news_tourls?>>
                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>
                <div class="title">
                  <?=$piclink_rs['news_title']?>
                </div>
                </a> </li>
              <?php
						}
						$piclink_sql = "select * from kboy_piclink where news_bigclass=35 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
					?>
              <li class="info3"> <a<?=$news_tourls?>>
                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>
                <div class="title">
                  <?=$piclink_rs['news_title']?>
                </div>
                </a> </li>
              <?php
						}

						$piclink_sql = "select * from kboy_piclink where news_bigclass=36 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";
						}else{
							$news_tourls = " href=\"javascript:void(0);\"";
						}
					?>

              <li class="info4"> <a<?=$news_tourls?>>
                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>
                <div class="title">
                  <?=$piclink_rs['news_title']?>
                </div>
                </a> </li>
              <?php
						}
						$piclink_sql = "select * from kboy_piclink where news_bigclass=37 order by news_top desc,news_order desc, id desc limit 1";
						$piclink_row = mysql_query($piclink_sql);
						while($piclink_rs = mysql_fetch_array($piclink_row)){
					?>
              <li class="info1">
                <?php
						$news_tourls = "";
						if($piclink_rs['news_tourls']){
							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















					?>



              <li class="info6"> <a href="cva_about.php"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



      



      <!--CVA分部-->



      



      <div class="con-pane">



        <div class="con-f5">



          <div class="ivv-info-l">



            <div class="f-logo">



              <div class="logo-in"><img src="<?=getClassName("kboy_news","news_pic","news_bigclass=56")?>" width="99" height="96" alt=""/></div>



              <div class="logo-info">



                <h3>



                  <?=getClassName("kboy_news","news_title","news_bigclass=56")?>



                </h3>



                <p>



                  <?=getClassName("kboy_news","news_text","news_bigclass=56")?>



                </p>



              </div>



            </div>



            <div class=ivv-info-inner>



              <?=getClassName("kboy_news","news_content","news_bigclass=56")?>



            </div>



          </div>



          <div class="ivv-info-r">



            <ul>



              <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=38 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$piclink_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$piclink_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}































































						$piclink_sql = "select * from kboy_piclink where news_bigclass=39 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=40 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info3"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=41 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info4"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=42 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















					?>



              <li class="info6"> <a href="cva_part.php"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



      



      <!--志愿者联盟-->



      



      <div class="con-pane">



        <div class="con-f5">



          <div class="ivv-info-l">



            <div class="f-logo">



              <div class="logo-in"><img src="<?=getClassName("kboy_news","news_pic","news_bigclass=57")?>" width="99" height="96" alt=""/></div>



              <div class="logo-info">



                <h3>



                  <?=getClassName("kboy_news","news_title","news_bigclass=57")?>



                </h3>



                <p>



                  <?=getClassName("kboy_news","news_text","news_bigclass=57")?>



                </p>



              </div>



            </div>



            <div class=ivv-info-inner>



              <?=getClassName("kboy_news","news_content","news_bigclass=57")?>



            </div>



          </div>



          <div class="ivv-info-r">



            <ul>



              <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=43 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$piclink_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$piclink_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}































































						$piclink_sql = "select * from kboy_piclink where news_bigclass=44 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=45 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info3"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=46 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info4"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=47 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















					?>



              <li class="info6"> <a href="zhiyuanzhe.php"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



      



      <!--IVV奥运会-->



      



      <div class="con-pane">



        <div class="con-f5">



          <div class="ivv-info-l">



            <div class="f-logo">



              <div class="logo-in"><img src="<?=getClassName("kboy_news","news_pic","news_bigclass=58")?>" width="99" height="96" alt=""/></div>



              <div class="logo-info">



                <h3>



                  <?=getClassName("kboy_news","news_title","news_bigclass=58")?>



                </h3>



                <p>



                  <?=getClassName("kboy_news","news_text","news_bigclass=58")?>



                </p>



              </div>



            </div>



            <div class="ivv-info-inner">



              <?=getClassName("kboy_news","news_content","news_bigclass=58")?>



            </div>



            <div class="ivv-held">



              <h3><a href="ivv_aoyun.php">近期IVV举办地</a></h3>



              <ul>



                <?php















										$news_sql = "select * from kboy_news where news_bigclass=100 order by news_top desc,news_order desc, id desc limit 4";















										$news_rows = mysql_query($news_sql);















										while($news_rs = mysql_fetch_array($news_rows)){















								?>



                <li> <img src="<?=$news_rs['news_pic']?>" width="81" height="54" alt="" />



                  <p>



                    <?=$news_rs['news_title']?>



                  </p>



                </li>



                <?php















										}















								?>



              </ul>



            </div>



          </div>



          <div class="ivv-info-r">



            <ul>



              <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=48 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$piclink_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$piclink_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}































































						$piclink_sql = "select * from kboy_piclink where news_bigclass=49 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=50 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info3"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=51 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info4"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=52 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















					?>



              <li class="info6"> <a href="ivv_aoyun.php"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



      <div class="show-ads">



        <?=getBanners(17)?>



      </div>



    </div>



  </div>



</div>



<div class="f-item-box">



  <div class="content">



    <div class="f-item-title">



      <p class="tips">SELECT</p>



      <div class="title-in"> <span class="sprite_l"></span> <a href="active.php">精  选</a> <span class="sprite_r"></span> </div>



      <p class="tips-cn">交流分享，学习更多知识，结交更多朋友！</p>



      <p class="tips-en">Sharing, learn more knowledge, to make more friends!</p>



    </div>



    <div class="bd-content">



      <div class="con-pane on">



        <div class="con-f5">



          <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=19 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



          <div class="select-info-l">



            <?=getBanners(19)?>



            <div class="tips">



              <p>



                <?=$piclink_rs['news_title']?>



                <br/>



                <?=$piclink_rs['news_text']?>



              </p>



            </div>



          </div>



          <?php















						}















					?>



          <div class="ivv-info-r">



            <ul>



              <?php















						$piclink_sql = "select * from kboy_piclink where news_bigclass=20 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$piclink_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$piclink_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$piclink_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}































































						$piclink_sql = "select * from kboy_piclink where news_bigclass=21 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















					?>



              <li class="info1">



                <?php















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















						















					?>



                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php















						}















						















						















						$piclink_sql = "select * from kboy_piclink where news_bigclass=22 order by news_top desc,news_order desc, id desc limit 1";















						$piclink_row = mysql_query($piclink_sql);















						while($piclink_rs = mysql_fetch_array($piclink_row)){















						$news_tourls = "";















						if($piclink_rs['news_tourls']){















							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";















						}else{















							$news_tourls = " href=\"javascript:void(0);\"";















						}















					?>



              <li class="info3"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="390" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php

						}

						$piclink_sql = "select * from kboy_piclink where news_bigclass=23 order by news_top desc,news_order desc, id desc limit 1";

						$piclink_row = mysql_query($piclink_sql);

						while($piclink_rs = mysql_fetch_array($piclink_row)){

						$news_tourls = "";

						if($piclink_rs['news_tourls']){

							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";

						}else{

							$news_tourls = " href=\"javascript:void(0);\"";

						}

					?>

              <li class="info4"> <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="400" height="130" alt=""/></div>



                <div class="title">

                  <?=$piclink_rs['news_title']?>

                </div>

                </a> </li>

              <?php

						}

						$piclink_sql = "select * from kboy_piclink where news_bigclass=24 order by news_top desc,news_order desc, id desc limit 1";

						$piclink_row = mysql_query($piclink_sql);

						while($piclink_rs = mysql_fetch_array($piclink_row)){

					?>

              <li class="info1">

                <?php

						$news_tourls = "";

						if($piclink_rs['news_tourls']){

							$news_tourls = " href=\"".$piclink_rs['news_tourls']."\" target=\"_blank\"";

						}else{

							$news_tourls = " href=\"javascript:void(0);\"";

						}


					?>

                <a<?=$news_tourls?>>



                <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="195" height="130" alt=""/></div>



                <div class="title">



                  <?=$piclink_rs['news_title']?>



                </div>



                </a> </li>



              <?php

						}


					?>



              <li class="info6"> <a href="javascript:void(0);"> <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""/></span> <span class="more">MORE</span> </a> </li>



            </ul>



          </div>



          <div class="clearfix"></div>



        </div>



      </div>



    </div>



  </div>



</div>







<!--foot begin-->







<? include("_include.bottom.footbar.php") ?>







<!--foot begin--> 







<!--左侧悬浮 begin-->







<? include("_include.bottom.leftbar.php") ?>







<!--左侧悬浮 end--> 







<!--右侧悬浮导航 begin-->







<? include("_include.bottom.rightbar.php") ?>







<!--右侧悬浮导航 end--> 







<!--拉一拉扫描二维码-->







<!--<div class="slide-ewm">



  <div class="slide-bd">



    <div class="big">



      <div class="pic"><img src="images/ewm_2.jpg" width="106" height="106" alt=""/></div>



    </div>



    <div class="small"><img src="images/ewm_1.png" width="16" height="16" alt=""/></div>



    <div class="back"><img src="images/back1.jpg" width="30" height="33" alt=""/></div>



  </div>



  <div class="mouse-line"></div>



  <p class="tips">拉一拉，扫描二维码<br/>

    极速下载徒步APP！</p>



</div>-->



<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> 



<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script> 



<script type="text/javascript" src="js/idangerous.swiper.min.js"></script>



<script type="text/javascript" src="js/main.js"></script> 



<script type="text/javascript">

  jQuery(".com-dz-show").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true});

  jQuery(".leader-list").slide({titCell:".hd ul",mainCell:".bd ul",effect:"left",autoPage:true,vis:6,trigger:"click",pnLoop:false});

  jQuery(".ivv-show").slide({mainCell:".bd ul",effect:"leftLoop",autoPlay:true});

  jQuery(".team-list").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"left",vis:7,trigger:"click",pnLoop:false});

  jQuery(".h_community_list").slide({titCell:".hd ul",mainCell:".bd",autoPage:true,effect:"left",vis:5,trigger:"click",pnLoop:false});

</script> 

<script>

var mySwiper = new Swiper('#bannerSwiper',{

    loop: true,

    autoplay:5000,

    speed:1000,

    swipeHandler : 'null',

    pagination: '#bannerpagination',

    paginationClickable: true,

    parallax:true,

    autoplayDisableOnInteraction : false

});



</script>
<script type="text/javascript">
	$(function(){
					//			动图		
			$(".hot-news-inner .pic a").hover(function(){
		//		n = $(this).index()
				$(this).find('img').stop().animate({'top':'-15px','left':'-15px','width':'295','height':'287'},1000)
			},function(){
				$(this).find('img').stop().animate({'top':'0','left':'0','width':'265','height':'257'},1000)
			})
		})
</script>
<script type="text/javascript">
window.onload = function(){
   
//	抓元素
	var ad = document.getElementById("ad");
	var close = document.getElementById("close");
	
//	计算最大的top值和left值
	var max_top = document.documentElement.scrollHeight - ad.offsetHeight;
	var max_left =document.documentElement.clientWidth - ad.offsetWidth;

	var x=1,y=1;
//	用来控制自动跑动的函数
	function run(){
	   
//		获得旧的left和top
		var old_left = ad.offsetLeft;
		var old_top = ad.offsetTop;
//		计算新值
		var new_left = old_left+x;
		var new_top = old_top+y;
//		赋值回去
		ad.style.left = new_left+'px';
		ad.style.top = new_top+'px';
		
		if(new_top==max_top){
// 			alert('到底啦！');
			y = -1;
		}
		
		if (new_left==max_left) {
			x = -1;
		}
		
		if (new_top==0) {
			y=1;
		}
		
		if (new_left==0) {
			x=1;
		}
	}
	
//	设置定时器
	timer = setInterval(run,10)
	
//	鼠标移入事件
	ad.onmouseover = function(){
		clearInterval(timer);
	}
	
//	鼠标移出事件
	ad.onmouseout = function(){
//		恢复定时器
		timer = setInterval(run,10)
	}
	
//	关闭
	close.onclick = function(){
		ad.style.display = 'none';
	}
	
}
		         
        

</script>
</body>



</html>



